//
//  Service+Product.h
//  umibus
//
//  Created by fengyn on 16/6/22.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ServiceManager.h"

///话费直充
static NSString * const kProductTypeCall=@"CALL";
///流量充值
static NSString * const kProductTypeFlow=@"FLOW";
///智能缴费
static NSString * const kProductTypeIntelligent=@"INTELLIGENT";
///流量屯包
static NSString * const kProductTypeFlowPackage=@"FLOWPACKAGE";
///理财流量
static NSString * const kProductTypeFund=@"FUND";

@interface ServiceManager(Product)
///手机端获取商品列表
+ (void)getProductsWithOperatorCode:(NSString *)operatorCode productType:(NSString *)productType packageCount:(NSString *)packageCount success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///查询发现基金商品列表
+ (void)getFundGoodsWithSuccess:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;

///理财流量回购
+ (void)userBackBuyWithOrderSn:(NSString *)orderSn success:(void(^)(NSDictionary *data)) success failure:(void(^)(NSDictionary *data)) failure;


@end
